<!--%import("js/quiz.js")-->

<h3 class="xeAdmin">{$lang->quiz} <span class="gray">{$lang->cmd_management}</span></h3>

<div class="infoText">{nl2br($lang->about_quiz)}</div>

<!--@if($module_info)-->
<div class="header4">
    <!--@if($module_info->mid)-->
    <h4 class="xeAdmin">{$module_info->mid} <!--@if($module_info->is_default=='Y')--><span class="bracket">({$lang->is_default})</span><!--@end--> <span class="vr">|</span> <a href="{getSiteUrl($module_info->domain,'','mid',$module_info->mid)}" onclick="window.open(this.href); return false;" class="view">View</a></h4>
    <!--@end-->

    <ul class="localNavigation">
        <!--@if($module=='admin')-->
        <li <!--@if($act=='dispQuizAdminList')-->class="on"<!--@end-->><a href="{getUrl('act','dispQuizAdminList','module_srl','')}">{$lang->cmd_quiz_list}</a></li>
        <!--@else-->
        <li><a href="{getUrl('act','')}">{$lang->cmd_back}</a></li>
        <!--@end-->
        <li <!--@if($act=='dispQuizAdminQuizInfo'||$act=='dispQuizAdminInsertQuiz')-->class="on"<!--@end-->><a href="{getUrl('act','dispQuizAdminQuizInfo')}"><!--@if($module_srl)-->{$lang->cmd_view_info}<!--@else-->{$lang->cmd_create_quiz}<!--@end--></a></li>

        <!--@if($module_srl)-->
        	<li <!--@if($act=='dispQuizAdminQuizQuestions')-->class="on"<!--@end -->><a href="{getUrl('act','dispQuizAdminQuizQuestions')}">Questions</a></li>
        	<li <!--@if($act=='dispQuizAdminGrantInfo')-->class="on"<!--@end -->><a href="{getUrl('act','dispQuizAdminGrantInfo')}">Manage permissions</a></li>
        	<li <!--@if($act=='dispQuizAdminQuizLog')-->class="on"<!--@end -->><a href="{getUrl('act','dispQuizAdminQuizLog')}">Logs</a></li>
        	<li <!--@if($act=='dispQuizAdminQuizEmail')-->class="on"<!--@end -->><a href="{getUrl('act','dispQuizAdminQuizEmail')}">Send email</a></li>
			
			<!--@if($act=='dispQuizAdminInsertQuestion'&&!$question_srl) -->
				<li class="on"><a href="">{$lang->add_new_question}</a></li>
			<!--@end -->
		<!--@end-->
		
		<!--@if($module_srl&&$question_srl) -->
			<!--@if($act=='dispQuizAdminInsertAnswer'&&!$answer_srl) -->
				<li class="on"><a href="">{$lang->add_answer}</a></li>
			<!--@end -->		
		<!--@end -->
    </ul>
</div>
<!--@end-->

